package com.caac.core.dm;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright caac 2004</p>
 * <p>Company: caac</p>
 * @author <a href="mailto:project@caac.com.cn">Project Group</a>
 * @version 1.0
 */

public class PageCounter extends BaseDm {
	private static final long serialVersionUID = 1L;
	private Integer seq;
    private String servletPath;
    private Integer counter;
    private String pageDesc;
    private String ifStatics;

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getServletPath() {
        return servletPath;
    }

    public void setServletPath(String servletPath) {
        this.servletPath = servletPath;
    }

    public Integer getCounter() {
        return counter;
    }

    public String getPageDesc() {
        return pageDesc;
    }

    public String getIfStatics() {
        return ifStatics;
    }

    public void setCounter(Integer counter) {
        this.counter = counter;
    }

    public void setPageDesc(String pageDesc) {
        this.pageDesc = pageDesc;
    }

    public void setIfStatics(String ifStatics) {
        this.ifStatics = ifStatics;
    }

    protected int doHashCode() {
        return getHashCodeBuilder().append(servletPath).toHashCode();
    }

    protected boolean doEquals(Object object) {
        PageCounter other = (PageCounter) object;
        return getEqualsBuilder().append(servletPath, other.servletPath).
                isEquals();
    }
}
